package com.purchase.order.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.purchase.common.annotation.Excel;
import com.purchase.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 评价id对象 order_evaluate
 *
 * @author purchase
 * @date 2023-07-11
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价表id */
    private Long evaluateId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 评价表类型（采购   或者是  需求） */
    @Excel(name = "评价表类型", readConverterExp = "采购,或者是,需求")
    private String evaluateType;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String corporateName;

    /** 供应商类别 */
    @Excel(name = "供应商类别")
    private String companyType;

    /** 供应主要产品 */
    @Excel(name = "供应主要产品")
    private String orderName;

    /** 准时交货情况 */
    @Excel(name = "准时交货情况")
    private BigDecimal opinionTimeDelivery;

    /** 价格情况 */
    @Excel(name = "价格情况")
    private BigDecimal opinionPrice;

    /** 售后服务情况 */
    @Excel(name = "售后服务情况")
    private BigDecimal opinionSales;

    /** 过程配合情况 */
    @Excel(name = "过程配合情况")
    private BigDecimal opinionProcess;

    /** 质量情况 */
    @Excel(name = "质量情况")
    private BigDecimal opinionQuality;

    /** 动态平均得分 */
    @Excel(name = "动态平均得分")
    private BigDecimal averageScore;

    /** 采购与招标中心意见 */
    @Excel(name = "采购与招标中心意见")
    private String purchaseOpinion;

    /** 需求单位意见 */
    @Excel(name = "需求单位意见")
    private String needsOpinion;

    /** 需求部门 */
    @Excel(name = "需求部门")
    private String needsDepartment;
}
